package com.craney.aboutDisplay
{
	import com.craney.util.PrintXY;
	
	import flash.display.Loader;
	import flash.display.Sprite;
	import flash.geom.Rectangle;
	import flash.net.URLRequest;
	
	public class TestScale extends Sprite
	{
		public function TestScale(sp:Sprite)
		{
			var request:URLRequest = new URLRequest("dog.jpg");
			var ld:Loader = new Loader();
			
			ld.load(request);
			
//			ld.scrollRect = new Rectangle(0, 0, 160, 160);
			
			
			ld.x = 100;
			
			PrintXY.print(ld, "This is a Loader!");
			
			addChild(ld);
//			graphics.beginFill(0xCCFF00);
//			graphics.drawRect(30, 30, 100, 77);
//			graphics.endFill();
		}

	}
}